//
//  ColumnInfo.m
//  TodayComment
//
//  Created by 张吉阳 on 15/9/12.
//  Copyright (c) 2015年 xianrenmoshi. All rights reserved.
//

#import "ColumnInfo.h"

@implementation ColumnInfo
+ (NSArray *)arrayFromArray:(NSArray *)array
{
    NSMutableArray *infos = [[NSMutableArray alloc] init];
    
    for (int i = 0; i<5; i++) {
        NSDictionary *dict = [array[i] firstObject];
        if ([[dict valueForKey:@"tname"] isEqualToString:@"画报"]) {
            //continue;
        }
        [infos addObject:[[self class] infoFromDict:dict]];
    }
    
    if (infos.count <= 0) {
        infos = nil;
    }
    
    return infos;
}
@end
